﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using VisualAgile.Model;

namespace VisualAgile.Web.Tests
{
    class FakeFeelingsData
    {
        public static List<Feelings> CreateTestFeelingss()
        {
            List<Feelings> feelings = new List<Feelings>() { 
                FeelingNormal(),
                FeelingBad()              
            };

            for (int i = 0; i < 10; i++)
            {
                Feelings sampleFeelings = new Feelings()
                {
                   UserMoodID = Guid.NewGuid(),
                   UserID = "2EBDBC36-3585-47b3-8709-BE3184956938",
                   Feeling = "Good",
                   Date = DateTime.Now.AddDays(i),                    
                   CreateTime = DateTime.Now                   
                };                               

                feelings.Add(sampleFeelings);
            }

            return feelings;
        }
        
        public static Feelings FeelingNormal()
        {                        
            Feelings demo = new Feelings()
            {
                UserMoodID = Guid.NewGuid(),
                UserID = "2EBDBC36-3585-47b3-8709-BE3184956938",
                Feeling = "Normal",
                Date = new DateTime(2009, 6, 29),
                CreateTime = DateTime.Now        
            };                

            return demo;
        }

        public static Feelings FeelingBad()
        {
            Feelings Default = new Feelings()
            {
                UserMoodID = Guid.NewGuid(),
                UserID = "2EBDBC36-3585-47b3-8709-BE3184956938",
                Feeling = "Bad",
                Date = new DateTime(2009, 6, 30),
                CreateTime = DateTime.Now        
            };                

            return Default;
        }      
    }
}
